package com.xxx.oauth.server.dao;

import com.xxx.oauth.server.entity.Client;

import java.util.List;

/**
 * client dao
 */
public interface ClientDao {

	public Client createClient(Client client);

	public Client updateClient(Client client);

	public void deleteClient(Long clientId);

	Client findOne(Long clientId);

	List<Client> findAll();

	Client findByClientId(String clientId);

	Client findByClientSecret(String clientSecret);

}
